/*
 * @Author: thl
 * @Date: 2022-11-02 14:19:40
 * @FilePath: \cw_web\gl\src\request\storageManager\outPut.js
 * @Descripttion: 
 */
import React from 'react'

//出库单分页查询
export async function apiStockOutLibraryPage(params) {
  return await React.$post('/admin/stockOutLibrary/page', params);
}

//出库单删除
export async function apiStockOutLibraryDel(params) {
  return await React.$post('/admin/stockOutLibrary/del', params);
}

//出库单修改信息
export async function apiStockOutLibraryEdit(params) {
  return await React.$post('/admin/stockOutLibrary/edit', params);
}

//出库单查看
export async function apiStockOutLibraryView(params) {
  return await React.$post('/admin/stockOutLibrary/view', params);
}
//出库单添加
export async function apiStockOutLibraryAdd(params) {
  return await React.$post('/admin/stockOutLibrary/add', params);
}

// 确认出库
export async function apiStockOutLibraryConfirm(params) {
  return await React.$post('/admin/stockOutLibrary/confirm', params);
}

// 出库单详情添加
export async function apiStockOutLibraryInfoAdd(params) {
  return await React.$post('/admin/stockOutLibraryInfo/add', params);
}

// 出库单详情删除
export async function apiStockOutLibraryInfoDel(params) {
  return await React.$post('/admin/stockOutLibraryInfo/del', params);
}

// 出库单详情获取所有
export async function apiStockOutLibraryInfoList(params) {
  return await React.$post('/admin/stockOutLibraryInfo/list', params);
}
// 出库类型
export async function apiTSysDictionariesList(params) {
  return await React.$post('/admin/tSysDictionaries/list', params);
}
// 列表总计
export async function apiTSysTotalPrice(params) {
  return await React.$post('/admin/stockOutLibrary/statisticsTotalPrice', params);
}
// 详情订单快照
export async function apiTSysOrderSnapshot(params) {
  return await React.$post('/admin/stockOutLibraryOrderSnapshot/view', params);
}

// 出库单详情打印
export async function apiStockOutLibraryPrintDetail(params) {
  return await React.$post('/admin/stockOutLibrary/printDetail', params);
}

// 出库单生成快照数据
export async function apiStockOutLibraryOrderSnapshotAdd(params) {
  return await React.$post('/admin/stockOutLibraryOrderSnapshot/stockOutLibraryOrderSnapshotAdd', params)
}

// 修改凭证编码
export async function apiPostVoucherCode(params) {
  return await React.$post('/admin/stockOutLibrary/changeOutLibraryVoucherCode', params)
}

// 导出
export async function apiPrintStockOutLibrary(params) {
  return await React.$post('/admin/stockOutLibrary/getDetailListByIds', params)
}

// 出入库 出库 通用导出
export async function apiPrintOutLibraryOrderList(params) {
  return await React.$post('/admin/stockOutLibrary/printOutLibraryOrderList', params)
}
// 流量投放效果
export async function apiEventAdvPage(params) {
  return await React.$postJson('/manage/api/b/eventAdv/page', params)
}
// 流量数据导出
export async function apiEventAdvExport(params) {
  return await React.$postJson(' /manage/api/b/eventAdv/export', params)
}
// 定位器专项数据列表分页查询
export async function apiEventLocatorPage(params) {
  return await React.$postJson('/manage/api/b/eventLocator/page', params)
}
// 定位器专项数据导出
export async function apiEventLocatorExport(params) {
  return await React.$postJson('/manage/api/b/eventLocator/export', params)
}
// 定位器专项数据统计查询
export async function apiEventLocatorOverview(params) {
  return await React.$postJson('/manage/api/b/eventLocatorStatistics/overview', params)
}

